import open3d as o3d

'''
将ply文件坐标缩小为原来的0.001
'''

ply_path = r"E:\pose\datasets\obj_ac\003\model\model.ply"
ply_path_SCALE = r"E:\pose\datasets\obj_ac\003\model\model.ply\obj_000001_SCALE.ply"
mesh = o3d.io.read_triangle_mesh(ply_path)
mesh.scale(0.01,0.01,0.01)
o3d.visualization.draw_geometries([mesh])
o3d.io.write_triangle_mesh(ply_path_SCALE, mesh, write_ascii=True)

